<table width="100%" height="100%" border="0">
    <tr valign="top">
        <td align="center">
            <input type="text" name="txtCari" size="50" />
            <button type="button" name="btCari">Cari</button>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;
        </td>
    </tr>
    <tr height="100%" valign="top">
        <td align="left">
            <?php
            $rownum = 0;
            $IDBarang = "";
            $Jenis = "JENIS";
            $Nama = "NAMA BARANG";
            $Keterangan = "";
            $Ukuran = "";
            $Warna = "";
            $TglMasuk = "";
            $Harga = "";
            $Jumlah = "";
            $Supplier = "";
            $AlamatSupplier = "";
            $TelpSupplier = "";
            $EmailSupplier = "";
            $ConvTanggal = "";
            if (isset($_SESSION['InfoBrgByRownum'])) {
                $InfoBrgByRownum = $_SESSION['InfoBrgByRownum'];
                $rownum = $InfoBrgByRownum[0];
                $IDBarang = $InfoBrgByRownum[1];
                $Jenis = $InfoBrgByRownum[2];
                $Nama = $InfoBrgByRownum[3];
                $Keterangan = $InfoBrgByRownum[4];
                $Ukuran = $InfoBrgByRownum[5];
                $Warna = $InfoBrgByRownum[6];
                $TglMasuk = $InfoBrgByRownum[7];
                $Harga = number_format($InfoBrgByRownum[8],2,",",".");
                $Jumlah = $InfoBrgByRownum[9];
                $Supplier = $InfoBrgByRownum[10];
                $AlamatSupplier = $InfoBrgByRownum[11];
                $TelpSupplier = $InfoBrgByRownum[12];
                $EmailSupplier = $InfoBrgByRownum[13];

                $Tahun = substr($TglMasuk,0,4);
                $Bulan = substr($TglMasuk,5,2);
                $Tanggal = substr($TglMasuk,8,2);
                $ConvTanggal = $Tanggal." ".fnConvertMonth($Bulan)." ".$Tahun;
            }
            ?>
            <table width="100%" height="100%" border="0">
                <tr>
                    <td colspan="2">
                        <font size="4"><?php echo $Jenis ?>&nbsp;&nbsp;>&nbsp;&nbsp;<?php echo $Nama ?><font>
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                        <img src="images/back2.jpg" width="200" height="200" border="1"/>
                    </td>
                    <td valign="top" width="100%">
                        <table>
                            <tr>
                                <td>Tgl Upload</td>
                                <td>&nbsp;:&nbsp;</td>
                                <td><?php echo $ConvTanggal ?></td>
                            </tr>
                            <tr>
                                <td>Ukuran</td>
                                <td>&nbsp;:&nbsp;</td>
                                <td><?php echo $Ukuran ?></td>
                            </tr>
                            <tr>
                                <td>Warna</td>
                                <td>&nbsp;:&nbsp;</td>
                                <td><?php echo $Warna ?></td>
                            </tr>
                            <tr>
                                <td>Jumlah</td>
                                <td>&nbsp;:&nbsp;</td>
                                <td><?php echo $Jumlah ?></td>
                            </tr>
                            <tr>
                                <td>Harga</td>
                                <td>&nbsp;:&nbsp;</td>
                                <td>Rp&nbsp;<?php echo $Harga ?></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr valign="top">
                    <td height="100%" colspan="2">
                        <?php echo $Keterangan ?>
                    </td>
                </tr>
                <tr valign="top">
                    <td align="center" colspan="2">
                        [<a href="#" onclick="fnPrev(1)" style="text-decoration: none">first</a>]
                        [<a href="#" onclick="fnPrev(<?php echo $rownum ?>)" style="text-decoration: none">prev</a>]
                        [<a href="#" onclick="fnHome(1)" style="text-decoration: none">catalog</a>]
                        [<a href="#" onclick="fnNext(<?php echo $rownum ?>)" style="text-decoration: none">next</a>]
                        [<a href="#" onclick="fnNext(<?php echo $TotalRow ?>)" style="text-decoration: none">last</a>]
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>